package com.example.lsn_35_butterknife;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.TextView;


import com.example.annotations.BindView;

import butterknife.ButterKnife;
import butterknife.OnLongClick;

public class MainActivity extends AppCompatActivity {

//    @BindView(R.id.tvText)
    @BindView(R.id.tvText)
    TextView textView;

    //。。。。。

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        JettButterknife.bind(this);
//        ButterKnife.bind(this);?
        textView.setText("注入成功");

    }

   @OnLongClick
    public void onClick(View view){

    }

}
